<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    <table border="1">
        <caption>汽车列表</caption>
    <tr>
        <th>品牌</th>
        <th>售价</th>
        <th>类型</th>
    </tr>
        <tr v-for="car in arr">
            <td>{{car.name}}</td>
            <td>{{car.price}}</td>
            <td>{{car.type}}</td>

        </tr>
    </table>
        <ul>
            <li v-for="name in names">{{name}}</li>
        </ul>

</div>
<script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue/2.6.14/vue.js"></script>
<script>
    let v=new Vue({
        el:"div",
        data:{
            arr:[{name:"BMW x5",price:800000,type:"SUV"},
            {name:"BENZ GLS500",price:1000000,type:"SUV"},
           {name:"AUDI Q5",price:400000,type:"SUV"}],
            names:["张三","李四","王五"]
        }
    })
</script>
</body>
</html>